home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-25 | 660 b | 25 lines | [TEXT/MPS ] |
- SET Exit 1
-
- execute FWLocateCW
-
- if "{FWCWCppPPCName}" == ""
- Alert "Can't find the CodeWarrior IDE"
- exit
- end
-
- ##### Launch IDE (if not using toolserver)
- if ¬ {FWUseToolServer}
- "{FWCWCppPPC}" -background
- End
-
- SendAE -e miscactv -t "{FWCWCppPPCName}"
- SendAE -e aevtodoc -t "{FWCWCppPPCName}" -----alis """{1}""" -timeout 1152000
-
- # Do the compile. Capture any error message in AEResult. Exit 1 if there
- # was an error message. (Note how errstr is set: need that "x" when AEResult
- # is the empty string).
- SendAE -e MMPRMake -t "{FWCWCppPPCName}" -timeout 1152000 ∑ "{ODFDev}AEResult"
- Set errstr "x`Catenate "{ODFDev}AEResult"`"
- Exit 1 If "{errstr}" != 'x'
-
-